package cn.java.driver;

public class TestDriver {
	public static void main(String[] args) {
		Car c = new Car(5, "1.8L");
		Driver d = new Driver();
		d.Driver(c);
		Boat b = new Boat(2, 2, 5);
		d.Driver(b);
		Plane p = new Plane(100, 90000);
		d.Driver(p);
		Tank t = new Tank(9, 20);
		d.Driver(t);
		Tractor e = new Tractor(2, 2);
		d.Driver(e);
	}

}
